<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/com/com.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
     <title>add</title>
    <%--  <script type="text/javascript">
     function changesearch(){	
	     $("[disabled]").each(function() {//移除disable,后台方可取值  
	         if (parseInt($(this).val()) != -1) {  
	             $(this).attr("disabled", false);  
	              window.location.href ="<%=basePath%>/sys/SysFamily_familyPeopleAdd.action";
	         }  
	     }); 
     }
     </script> --%>
  </head>
  
  <body>
  
  <div class="panel admin-panel">
<div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>新增家庭成员</strong></div>
<div class="body-content">
    <form method="post" class="form-x" action="<%=basePath%>/sys/SysFamily_familyPeopleAdd.action" >  
       <input type="hidden"  name="familyHeadId" value="${sysFamily.familyHeadId}"  />
       <input type="hidden"  name="zuId" value="${sysFamily.zuId}"  />
       <input type="hidden"  name="villageId" value="${sysFamily.villageId}" />
       <input type="hidden"  name="townId" value="${sysFamily.townId}"  />
       <input type="hidden"  name="countId"  value="${sysFamily.countId}" />  
      <div class="form-group">
        <div class="label">
          <label>家庭编号:</label>
        </div>
        <div class="field">
          <input type="text" readonly="readonly" class="input w50" value="${sysFamily.familyId}" name="familyId" data-validate="required:请输入" />
          <div class="tips"></div>
        </div>
      </div>
      
      <div class="form-group">
        <div class="label">
          <label>家庭名称:</label>
        </div>
        <div class="field">
          <input type="text" readonly="readonly" class="input w50" value="${sysFamily.familyName}" name="familyName" data-validate="required:请输入" />
          <div class="tips"></div>
        </div>
      </div>
     <div class="form-group">
        <div class="label">
          <label>地址：</label>
        </div>
        <div class="field">
          <input type="text" readonly="readonly" class="input w50" value="${sysFamily.familyAddress}" name="familyAddress" data-validate="required:请输入" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>户主名字：</label>
        </div>
        <div class="field">
          <input type="text" readonly="readonly" name="" class="input w50" value="${huzhuNameMap.get(sysFamily.getFamilyHeadId())}" data-validate="required:请输入" />
          <div class="tips"></div>
        </div>
      </div> 

         <div class="form-group">
          <div class="label">
            <label>与户主关系</label>
          </div>
          <div class="field">
          <select name="relation" id="relation" class="input w50">
                <option value="" name="">与户主关系</option>
				<option value="0" name="relation">夫妻</option>
				<option value="1" name="relation">父子</option>
				<option value="2" name="relation">母子</option>
				<option value="3" name="relation">祖辈</option>
				<option value="4" name="relation">其他</option>
            </select>
            <div class="tips"></div>
          </div>
        </div>
       <div class="form-group">
        <div class="label">
          <label>家庭成员名字：</label>
        </div>
        <div class="field">
          <input type="text"  class="input w50" name="addpeoplename" value="" data-validate="required:请输入" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>成员身份证号：</label>
        </div>
        <div class="field">
          <input type="text"  class="input w50" name="Idcard" value="" data-validate="required:请输入" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
          <div class="label">
            <label>成员性别</label>
          </div>
          <div class="field">
          <select name="sexY" id="sexY" class="input w50">
                <option value="" name="">性别</option>
				<option value="0" name="sexY">男</option>
				<option value="1" name="sexY">女</option>
            </select>
            <div class="tips"></div>
          </div>
        </div>
       <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit" > 提交</button>
        </div>
      </div>
    </form>
  </div>
</div> 
</body>
</html>
